package com.tms.app.tms.bean;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * Created by Administrator on 2017/11/18 0018.
 */
@Table(name = "msg")
public class Msg {
    @Column(
            name = "id",
            isId = true,
            autoGen = true
    )
    private int id;
    /*系统消息*/
    @Column(name = "msgId" )
    private int msgId;//1,
    @Column(name = "readStatus" )
    private int readStatus;//1, 阅读状态 1已读 0 未读
    @Column(name = "msgType" )
    private int msgType;//0任务消息,1系统消息,2 变更通知
    @Column(name = "title" )
    private String title="";//”提醒”,
    @Column(name = "content" )
    private String content="";//”xxxxxxxxxx”,
    @Column(name = "publishTime" )
    private long  publishTime;//2017091010100

    //任务消息
    @Column(name = "allotPlanNo" )
    private String allotPlanNo="";//”P12345678”,
    @Column(name = "busiType" )
    private String busiType="1";//”0,1,2”
    @Column(name = "mstType" )
    private int mstType;
    @Column(name = "planId" )
    private int  planId;
    @Column(name = "mobile" )
    private String mobile;
    @Column(name = "saveTime" )
    private long saveTime;







    public int getMsgId() {
        return msgId;
    }

    public void setMsgId(int msgId) {
        this.msgId = msgId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(long publishTime) {
        this.publishTime = publishTime;
    }

    public String getAllotPlanNo() {
        return allotPlanNo;
    }

    public void setAllotPlanNo(String allotPlanNo) {
        this.allotPlanNo = allotPlanNo;
    }

    public String getBusiType() {
        return busiType;
    }

    public void setBusiType(String busiType) {
        this.busiType = busiType;
    }

    public int getMstType() {
        return mstType;
    }

    public void setMstType(int mstType) {
        this.mstType = mstType;
    }

    public int getPlanId() {
        return planId;
    }

    public void setPlanId(int planId) {
        this.planId = planId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMsgType() {
        return msgType;
    }

    public void setMsgType(int msgType) {
        this.msgType = msgType;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(int readStatus) {
        this.readStatus = readStatus;
    }

    public long getSaveTime() {
        return saveTime;
    }

    public void setSaveTime(long saveTime) {
        this.saveTime = saveTime;
    }
}
